package com.tcp2.msg;

/**
 * Author: 程行荣
 * Time: 2014-05-23 10:49
 * Copyright (C) 2014 Xiamen Yaxon Networks CO.,LTD.
 */
public class VehicleInfo {
    private Long vid; //车辆ID
    private String lpn; //车牌号
    private Byte col = 0; //车牌颜色
    private Long sim; //手机号
    private Long groupId; //分组ID
    private Long platformId;//平台接入id 2014.10.14增加
    private String type;
    private String transType;
    private Integer nationality;
    private String oldTid;
    private String vehOperatingState;
    private Byte onlineFlag;

    public Byte getOnlineFlag() {
        return onlineFlag;
    }

    public void setOnlineFlag(Byte onlineFlag) {
        this.onlineFlag = onlineFlag;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTransType() {
        return transType;
    }

    public void setTransType(String transType) {
        this.transType = transType;
    }

    public Integer getNationality() {
        return nationality;
    }

    public void setNationality(Integer nationality) {
        this.nationality = nationality;
    }

    public String getOldTid() {
        return oldTid;
    }

    public void setOldTid(String oldTid) {
        this.oldTid = oldTid;
    }

    public String getVehOperatingState() {
        return vehOperatingState;
    }

    public void setVehOperatingState(String vehOperatingState) {
        this.vehOperatingState = vehOperatingState;
    }

    public Long getPlatformId() {
        return platformId;
    }

    public void setPlatformId(Long platformId) {
        this.platformId = platformId;
    }

    public Long getVid() {
        return vid;
    }

    public void setVid(Long vid) {
        this.vid = vid;
    }

    public String getLpn() {
        return lpn;
    }

    public void setLpn(String lpn) {
        this.lpn = lpn;
    }

    public Byte getCol() {
        return col;
    }

    public void setCol(Byte col) {
        this.col = col;
    }

    public Long getSim() {
        return sim;
    }

    public void setSim(Long sim) {
        this.sim = sim;
    }

    public Long getGroupId() {
        return groupId;
    }

    public void setGroupId(Long groupId) {
        this.groupId = groupId;
    }

    @Override
    public String toString() {
        return "VehicleInfo{" +
                "vid=" + vid +
                ", lpn='" + lpn + '\'' +
                ", col=" + col +
                ", sim=" + sim +
                ", groupId=" + groupId +
                ", platformId=" + platformId +
                ", type='" + type + '\'' +
                ", transType='" + transType + '\'' +
                ", nationality=" + nationality +
                ", oldTid='" + oldTid + '\'' +
                ", vehOperatingState='" + vehOperatingState + '\'' +
                ", onlineFlag=" + onlineFlag +
                '}';
    }
}
